package com.xujiakai.car.maintain.infrastructure.mapper;


import com.xujiakai.car.maintain.domain.dto.AccountDTO;
import com.xujiakai.car.maintain.userinterface.views.LoginBean;
import org.apache.ibatis.annotations.Param;

public interface AccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AccountDTO record);

    int insertSelective(AccountDTO record);

    AccountDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AccountDTO record);

    int updateByPrimaryKey(AccountDTO record);
    
    LoginBean selectcount(AccountDTO account);
    
    AccountDTO selectByAccountNum(@Param("accountnumber") String accountnumber);
}